<template>
    <div :id="`mars3dContainer${mapKey}`" class="mars3d-container"></div>
</template>
<script setup lang="ts">
import { initMap } from "@/utils/initMap";
import { onMounted } from "vue";
// 定义map容器key
const mapKey = new Date().getTime();
onMounted(() => {
    // 加载map
    initMap(mapKey);
});
</script>
<style scoped>
/**cesium 工具按钮栏*/
</style>
